<%@page	import="java.util.ArrayList"
import="model.*"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	    <title>INTI3E Prototype</title>
	    <link rel="stylesheet" href="layout.css" type="text/css" />
	
		<script type="text/javascript">
		function Ajax() {
			var xmlHttp;
			try {
				xmlHttp = new XMLHttpRequest();// Firefox, Opera 8.0+, Safari 
			} catch (e) {
				try {
					xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); // Internet Explorer 
				} catch (e) {
					try {
						xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
					} catch (e) {
						return false;
					}
				}
			}
			xmlHttp.onreadystatechange = function() {
				if (xmlHttp.readyState == 4) {
					document.getElementById('warningRefresh').innerHTML = xmlHttp.responseText;
					setTimeout('Ajax()', 2000);
				}
			}
			xmlHttp.open("GET", "WarningAlerter", true);
			xmlHttp.send(null);
		}
		window.onload = function() {
			setTimeout('Ajax()', 2000);
		}
		</script>
	</head>
	<body>
		
	<%
	session = request.getSession();
	if( session.getAttribute( "logged" ) == "true" ){
		
	}
	%>
	<div id="warningRefresh">
	</div>